#include "server.hpp"
bucai::DataManager dm;

void hot(){
    bucai::hotManager hot;
    hot.RunModule();
}

void ser(){
    bucai::server svr;
    svr.RunModule();
}

int main(){
    std::thread thread_hot(hot);
    std::thread thread_server(ser);
    thread_hot.join();
    thread_server.join();
    return 0;
}